import request from "@/utils/request";
export function insertUserFunction(data) {
  return request({
    url: "/user-function/insert",
    method: "post",
    data: data
  });
}
export function updateUserFunction(data) {
  return request({
    url: "/user-function/update",
    method: "post",
    data: data
  });
}
export function deleteUserFunction(data) {
  return request({
    url: "/user-function/delete",
    method: "post",
    data: data
  });
}
export function deletesUserFunction(data) {
  return request({
    url: "/user-function/deletes",
    method: "post",
    data: data
  });
}
export function enableUserFunction(data) {
  return request({
    url: "/user-function/enable",
    method: "post",
    data: data
  });
}
export function enablesUserFunction(data) {
  return request({
    url: "/user-function/enables",
    method: "post",
    data: data
  });
}
export function disableUserFunction(data) {
  return request({
    url: "/user-function/disable",
    method: "post",
    data: data
  });
}
export function disablesUserFunction(data) {
  return request({
    url: "/user-function/disables",
    method: "post",
    data: data
  });
}
export function viewUserFunction(params) {
  return request({
    url: "/user-function/view",
    method: "get",
    params: params
  });
}
export function pageUserFunction(params) {
  return request({
    url: "/user-function/page",
    method: "get",
    params: params
  });
}
export function searchUserFunction(params) {
  return request({
    url: "/user-function/search",
    method: "get",
    params: params
  });
}
